Skip to content

Conversation

@kaxil
Copy link
Member

@kaxil kaxil commented Feb 18, 2025

Part of #45440

Built-in macros have been moved but the support to register a custom macro via plugin will be done as part of #45440.

This PR moves random, dateutil, yaml, datetime_diff_for_humans, ds_format_locale to Python Task SDK.

Backwards-compatibility has been maintained for now in airflow.macros.

cc @vatsrahul1001


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

Part of apache#45440

Built-in macros have been moved but the support to register a custom macro via plugin will be done as part of apache#45440.

This PR moves `random`, `dateutil`, `yaml`, `datetime_diff_for_humans`, `ds_format_locale` to Python Task SDK.

Backwards-compatibility has been maintained for now in `airflow.macros`.
@kaxil kaxil merged commit 647a2d1 into apache:main Feb 18, 2025
64 checks passed
@kaxil kaxil deleted the move-macros-sdk branch February 18, 2025 19:54
ntr pushed a commit to ntr/airflow that referenced this pull request Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants